<template>
  <div id="app">
    <Header v-if="!$route.meta.showHeader"></Header>
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"> </router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
    <Footer v-if="$route.meta.showFooter"></Footer>
  </div>
</template>

<script>
import "./static/css/public_style.css";
import Header from "@/components/Header";
import Footer from "@/components/Footer";
export default {
  name: "App",
  components: { Header, Footer },
};
</script>

<style></style>
